package test;

public class Cat1 extends Cat{
    public Cat1() {
    }

    public Cat1(String name, int age) {
        super(name, age);
    }

    @Override
    public void eat(){
        System.out.println("一只"+getAge()+"岁的"+getName()+"在吃鱼");
    }
}
